package com.example.ssm.rental.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.ssm.rental.entity.ViewHistory;
import com.example.ssm.rental.mapper.ViewHistoryMapper;
import com.example.ssm.rental.service.ViewHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author example
 * @date 2022/4/9 2:22 下午
 */

@Service
public class ViewHistoryServiceImpl implements ViewHistoryService {

    @Autowired
    private ViewHistoryMapper viewHistoryMapper;

    @Override
    public BaseMapper<ViewHistory> getRepository() {
        return viewHistoryMapper;
    }

    @Override
    public QueryWrapper<ViewHistory> getQueryWrapper(ViewHistory viewHistory) {
        return null;
    }

    @Override
    public QueryWrapper<ViewHistory> getQueryWrapper(Map<String, Object> condition) {
        return null;
    }
}
